#ifndef TESTDIALOG_H
#define TESTDIALOG_H

#include <QtGui/QDialog>
#include <QCheckBox>
#include <QLineEdit>
#include <QLabel>
#include <QPushButton>
#include <QHBoxLayout>
#include <QVBoxLayout>

class TestDialog : public QDialog
{
    Q_OBJECT

public:
    TestDialog(QWidget *parent = 0);
    ~TestDialog();

signals:
    void findNext(const QString &str, Qt::CaseSensitivity cs);
    void findPrevious(const QString &str, Qt::CaseSensitivity cs);

public slots:
	void btnClicked();
	void enableSearchBtn(const QString &text);

private:
	QCheckBox* backCheckBox;
	QCheckBox* caseCheckBox;
	QPushButton* searchBtn;
	QPushButton* closeBtn;
	QLabel* lbl;
	QLineEdit* le;
};

#endif // TESTDIALOG_H
